home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20000824-20010305
/
000347_news@columbia.edu _Thu Feb 22 15:16:30 2001.msg
< prev
next >
Wrap
Internet Message Format
|
2001-03-05
|
3KB
Return-Path: <news@columbia.edu>
Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id PAA09562
for <kermit.misc@cpunix.cc.columbia.edu>; Thu, 22 Feb 2001 15:16:30 -0500 (EST)
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA22750
for <kermit.misc@watsun.cc.columbia.edu>; Thu, 22 Feb 2001 15:16:27 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id PAA07429
for kermit.misc@watsun.cc.columbia.edu; Thu, 22 Feb 2001 15:03:02 -0500 (EST)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: fdc@columbia.edu (Frank da Cruz)
Subject: Re: interfacing to FANUC CNC controller
Date: 22 Feb 2001 20:03:02 GMT
Organization: Columbia University
Message-ID: <973r9m$77v$1@newsmaster.cc.columbia.edu>
To: kermit.misc@columbia.edu
In article <A5el6.297975$w35.48976056@news1.rdc1.nj.home.com>,
dls2 <dlshearer@home.com> wrote:
: "Frank da Cruz" <fdc@watsun.cc.columbia.edu> wrote:
: > dls2 <dlshearer@home.com> wrote:
: > : but do appear in the session log. Shouldn't the DC
: > : (Device Control) characters be stripped out of the session log,
: > : the same as for the terminal screen, having been interpreted
: > : as XON/XOFF signaling, rather than as textual content?
: > :
: > But you said the DC characters were Ctrl-R and Ctrl-T. Those are
: > not Xon and Xoff. Xon is Ctrl-Q, Xoff is Ctrl-S. Kermit is doing
: > its job.
:
: ****
: DC1 11 ^Q device control 1 - turn on the paper tape reader.
: In early documentation, this was called XON.
:
: DC2 12 ^R device control 2 - turn on the paper tape punch.
:
: DC3 13 ^S device control 3 - turn off the paper tape reader.
: In early documentation, this was called XOFF, The use of
: XON/XOFF (DC1/DC3) for flow control stems from their use to
: control the flow of data from the paper tape reader attached to a
: Teletype.
:
: DC4 14 ^T device control 4 - turn off the paper tape punch.
: ****
: http://www.cs.fiu.edu/~smithg/cop5621/lowascii.html
:
: So, should Kermit be corrected, in this regard?
:
No.
We don't seem to be communicating. I know what control characters
are, you don't need to explain them. You said the "DC characters" in your
log were DC2 and DC4, and wondered why they are in there. I said it's
because the device is sending them. The session log simply records what
the device sends. An except would be Xon and Xoff (DC1 and DC3) if and
only if Xon/Xoff flow control is in effect. In this case, the OPERATING
SYSTEM acts on these characters and does not pass them to the application.
Kermit is not stripping them out, Kermit never gets them.
But DC2 and DC4 are not flow control characters, so Kermit gets them
and records them, just as you asked it to.
There is at present no mechanism to tell K95 to strip out DC2 and DC4
characters but of course you can always do this with a postprocessing step.
- Frank